@claudiolabs/claudio 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +29 -0
- package/README.md +311 -0
- package/bin/claudio +96 -0
- package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +1 -0
- package/dist/chunks/App-0.1.9-7ttp2eny.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +1 -0
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +1 -0
- package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +3 -0
- package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +1 -0
- package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +1 -0
- package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +1 -0
- package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +1 -0
- package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +1 -0
- package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +1 -0
- package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +1 -0
- package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +1 -0
- package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +111 -0
- package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +3 -0
- package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +1 -0
- package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +1 -0
- package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +1 -0
- package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +1 -0
- package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +1 -0
- package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +48 -0
- package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +1 -0
- package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +4 -0
- package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +1 -0
- package/dist/chunks/btw-0.1.9-g55x31zp.mjs +1 -0
- package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +3 -0
- package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +1 -0
- package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +21 -0
- package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +4 -0
- package/dist/chunks/caches-0.1.9-d6cndrra.mjs +1 -0
- package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +1 -0
- package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +2 -0
- package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +1 -0
- package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +1 -0
- package/dist/chunks/clear-0.1.9-tb8x7676.mjs +1 -0
- package/dist/chunks/cli-0.1.9-001s9kxw.mjs +24 -0
- package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +39 -0
- package/dist/chunks/cli-0.1.9-04ez73f7.mjs +5084 -0
- package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +31 -0
- package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +3 -0
- package/dist/chunks/cli-0.1.9-0j8n671q.mjs +2 -0
- package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +2 -0
- package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +2 -0
- package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +2 -0
- package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +2 -0
- package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +2 -0
- package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +3 -0
- package/dist/chunks/cli-0.1.9-263y2rkc.mjs +3 -0
- package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +15 -0
- package/dist/chunks/cli-0.1.9-2prq7peb.mjs +2 -0
- package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +2 -0
- package/dist/chunks/cli-0.1.9-2thp2z73.mjs +2 -0
- package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +2 -0
- package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +7 -0
- package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +6 -0
- package/dist/chunks/cli-0.1.9-38zb09vp.mjs +2 -0
- package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +15 -0
- package/dist/chunks/cli-0.1.9-3h4serkj.mjs +58 -0
- package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +2 -0
- package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +34 -0
- package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +2 -0
- package/dist/chunks/cli-0.1.9-3y36913h.mjs +10 -0
- package/dist/chunks/cli-0.1.9-3yscrq86.mjs +833 -0
- package/dist/chunks/cli-0.1.9-45ggwszg.mjs +2 -0
- package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +2 -0
- package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +2 -0
- package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +2 -0
- package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +2 -0
- package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +16 -0
- package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +2 -0
- package/dist/chunks/cli-0.1.9-4vt296k0.mjs +18 -0
- package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +2 -0
- package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +2 -0
- package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +2 -0
- package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +2 -0
- package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +2 -0
- package/dist/chunks/cli-0.1.9-61ywjha3.mjs +2 -0
- package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +2 -0
- package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +16 -0
- package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +2 -0
- package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +5 -0
- package/dist/chunks/cli-0.1.9-6ne451jc.mjs +2 -0
- package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +2 -0
- package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7047sjwh.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +3 -0
- package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +12 -0
- package/dist/chunks/cli-0.1.9-7q9461ka.mjs +2 -0
- package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +2 -0
- package/dist/chunks/cli-0.1.9-86kws2c7.mjs +192 -0
- package/dist/chunks/cli-0.1.9-8egwvs85.mjs +2 -0
- package/dist/chunks/cli-0.1.9-90h21nv5.mjs +2 -0
- package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +2 -0
- package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +2 -0
- package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +2 -0
- package/dist/chunks/cli-0.1.9-9vab0er5.mjs +2 -0
- package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +22 -0
- package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +2 -0
- package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +134 -0
- package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +4 -0
- package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +2 -0
- package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +100 -0
- package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +3 -0
- package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +2 -0
- package/dist/chunks/cli-0.1.9-aype6q4y.mjs +2 -0
- package/dist/chunks/cli-0.1.9-b3031hmy.mjs +2 -0
- package/dist/chunks/cli-0.1.9-b6zp931m.mjs +11 -0
- package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +2 -0
- package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +2 -0
- package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +2 -0
- package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +2 -0
- package/dist/chunks/cli-0.1.9-br9jzagb.mjs +2 -0
- package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +2 -0
- package/dist/chunks/cli-0.1.9-c38eyh49.mjs +2 -0
- package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +2 -0
- package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +3 -0
- package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +2 -0
- package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +2 -0
- package/dist/chunks/cli-0.1.9-dt31fs16.mjs +2 -0
- package/dist/chunks/cli-0.1.9-dzz1me99.mjs +2 -0
- package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +2 -0
- package/dist/chunks/cli-0.1.9-e96x59hw.mjs +2 -0
- package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +2 -0
- package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +12 -0
- package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +2 -0
- package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +2 -0
- package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +4 -0
- package/dist/chunks/cli-0.1.9-f643fvt4.mjs +2 -0
- package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +6 -0
- package/dist/chunks/cli-0.1.9-fcf313e7.mjs +2 -0
- package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +5 -0
- package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +2 -0
- package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +2 -0
- package/dist/chunks/cli-0.1.9-gandxpzf.mjs +2 -0
- package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +2 -0
- package/dist/chunks/cli-0.1.9-gdymcvby.mjs +2 -0
- package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +2 -0
- package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +2 -0
- package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +2 -0
- package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +2 -0
- package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +50 -0
- package/dist/chunks/cli-0.1.9-hva25eg3.mjs +4 -0
- package/dist/chunks/cli-0.1.9-hy4peemf.mjs +3 -0
- package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +14 -0
- package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +2 -0
- package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +4 -0
- package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +2 -0
- package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +2 -0
- package/dist/chunks/cli-0.1.9-jdpz959j.mjs +2 -0
- package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +2 -0
- package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +2 -0
- package/dist/chunks/cli-0.1.9-krv35v3v.mjs +2 -0
- package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +2 -0
- package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +2 -0
- package/dist/chunks/cli-0.1.9-m7shtst2.mjs +2 -0
- package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +2 -0
- package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +2 -0
- package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +3 -0
- package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +4 -0
- package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +2 -0
- package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +2 -0
- package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +2 -0
- package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +12 -0
- package/dist/chunks/cli-0.1.9-n445yk6z.mjs +2 -0
- package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +2 -0
- package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +2 -0
- package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +2 -0
- package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +252 -0
- package/dist/chunks/cli-0.1.9-nz8phj17.mjs +2 -0
- package/dist/chunks/cli-0.1.9-p1kdk178.mjs +2 -0
- package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +4 -0
- package/dist/chunks/cli-0.1.9-p5scdysw.mjs +2 -0
- package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +2 -0
- package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +2 -0
- package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +2 -0
- package/dist/chunks/cli-0.1.9-psx0e36a.mjs +2 -0
- package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +2 -0
- package/dist/chunks/cli-0.1.9-q7hve442.mjs +2 -0
- package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +2 -0
- package/dist/chunks/cli-0.1.9-qydwhycw.mjs +2 -0
- package/dist/chunks/cli-0.1.9-r3ha1332.mjs +7 -0
- package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +8 -0
- package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +21 -0
- package/dist/chunks/cli-0.1.9-rerthk1j.mjs +2 -0
- package/dist/chunks/cli-0.1.9-rft22htm.mjs +2 -0
- package/dist/chunks/cli-0.1.9-rp31nc37.mjs +2 -0
- package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +2 -0
- package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +2 -0
- package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +2 -0
- package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +2 -0
- package/dist/chunks/cli-0.1.9-scpj6tps.mjs +3 -0
- package/dist/chunks/cli-0.1.9-sqja68fn.mjs +2 -0
- package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +2 -0
- package/dist/chunks/cli-0.1.9-t24n24mw.mjs +2 -0
- package/dist/chunks/cli-0.1.9-teaymnrz.mjs +2 -0
- package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +2 -0
- package/dist/chunks/cli-0.1.9-v32f99vc.mjs +11 -0
- package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +2 -0
- package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +2 -0
- package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +44 -0
- package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +45 -0
- package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +2 -0
- package/dist/chunks/cli-0.1.9-vwv31syx.mjs +2 -0
- package/dist/chunks/cli-0.1.9-w692zn5c.mjs +2 -0
- package/dist/chunks/cli-0.1.9-wn39cz20.mjs +2 -0
- package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +2 -0
- package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +13 -0
- package/dist/chunks/cli-0.1.9-x13p19zq.mjs +2 -0
- package/dist/chunks/cli-0.1.9-x257hapj.mjs +9 -0
- package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +2 -0
- package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +2 -0
- package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +4 -0
- package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +2 -0
- package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +5 -0
- package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +4 -0
- package/dist/chunks/cli-0.1.9-yddanjg2.mjs +132 -0
- package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +2 -0
- package/dist/chunks/cli-0.1.9-ywf6743k.mjs +2 -0
- package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +24 -0
- package/dist/chunks/cli-0.1.9-zae1me3j.mjs +2 -0
- package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +2 -0
- package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +2 -0
- package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +2 -0
- package/dist/chunks/cli-0.1.9-zrdz7st3.mjs +3 -0
- package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +2 -0
- package/dist/chunks/cli-0.1.9-zzp8m503.mjs +3 -0
- package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +1 -0
- package/dist/chunks/client-0.1.9-ys52xz2v.mjs +1 -0
- package/dist/chunks/color-0.1.9-nmnytefc.mjs +1 -0
- package/dist/chunks/compact-0.1.9-qw915ckh.mjs +3 -0
- package/dist/chunks/config-0.1.9-1m69edch.mjs +1 -0
- package/dist/chunks/config-0.1.9-6knxc8a2.mjs +1 -0
- package/dist/chunks/context-0.1.9-47a3xmqq.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +1 -0
- package/dist/chunks/conversation-0.1.9-vebter8y.mjs +1 -0
- package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +9 -0
- package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +1 -0
- package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +1 -0
- package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +1 -0
- package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +1 -0
- package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +1 -0
- package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +1 -0
- package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +1 -0
- package/dist/chunks/effort-0.1.9-spz96zzr.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +1 -0
- package/dist/chunks/environments-0.1.9-2hka6k26.mjs +1 -0
- package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +1 -0
- package/dist/chunks/export-0.1.9-c3pqjktx.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +1 -0
- package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +1 -0
- package/dist/chunks/feedback-0.1.9-anraj53n.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +1 -0
- package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +1 -0
- package/dist/chunks/git-0.1.9-09pdaxwd.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +1 -0
- package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +1 -0
- package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +6 -0
- package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +1 -0
- package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +3 -0
- package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +1 -0
- package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +79 -0
- package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +1 -0
- package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +2 -0
- package/dist/chunks/index-0.1.9-31vnb803.mjs +1 -0
- package/dist/chunks/index-0.1.9-68aa3hmw.mjs +1 -0
- package/dist/chunks/index-0.1.9-7ktx5gez.mjs +1 -0
- package/dist/chunks/index-0.1.9-8feamw1f.mjs +1 -0
- package/dist/chunks/index-0.1.9-8hzceckr.mjs +5 -0
- package/dist/chunks/index-0.1.9-96thm65j.mjs +1 -0
- package/dist/chunks/index-0.1.9-c7sexk3f.mjs +2 -0
- package/dist/chunks/index-0.1.9-fvtq6thw.mjs +1 -0
- package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +1 -0
- package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +7 -0
- package/dist/chunks/index-0.1.9-h548q4km.mjs +1 -0
- package/dist/chunks/index-0.1.9-j6ac60hq.mjs +1 -0
- package/dist/chunks/index-0.1.9-jxdymwv4.mjs +1 -0
- package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +1 -0
- package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +9 -0
- package/dist/chunks/index-0.1.9-smem7egb.mjs +30 -0
- package/dist/chunks/index-0.1.9-snmdvw2f.mjs +1 -0
- package/dist/chunks/index-0.1.9-vwevfx80.mjs +1 -0
- package/dist/chunks/index-0.1.9-w21jc8bp.mjs +1 -0
- package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +1 -0
- package/dist/chunks/index-0.1.9-yjp28h60.mjs +9 -0
- package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +1 -0
- package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +1 -0
- package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +870 -0
- package/dist/chunks/install-0.1.9-km91vvgf.mjs +1 -0
- package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +149 -0
- package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +1 -0
- package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +12 -0
- package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +1 -0
- package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +2 -0
- package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +1 -0
- package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +1 -0
- package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +1 -0
- package/dist/chunks/main-0.1.9-7cnyr288.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +1 -0
- package/dist/chunks/mcp-0.1.9-14beee71.mjs +17 -0
- package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +4 -0
- package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +1 -0
- package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +1 -0
- package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +1 -0
- package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +3 -0
- package/dist/chunks/mobile-0.1.9-144nwr03.mjs +2 -0
- package/dist/chunks/model-0.1.9-ghswdzx2.mjs +1 -0
- package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +2 -0
- package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +1 -0
- package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +14 -0
- package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +1 -0
- package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +1 -0
- package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +1 -0
- package/dist/chunks/passes-0.1.9-84vsp058.mjs +1 -0
- package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +3 -0
- package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +1 -0
- package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +1 -0
- package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +1 -0
- package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +9 -0
- package/dist/chunks/print-0.1.9-z151tvas.mjs +57 -0
- package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +1 -0
- package/dist/chunks/process-0.1.9-anx0dq1a.mjs +1 -0
- package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +9 -0
- package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +1 -0
- package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +1 -0
- package/dist/chunks/prompts-0.1.9-psek69yr.mjs +1 -0
- package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +2 -0
- package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +1 -0
- package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +1 -0
- package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +2 -0
- package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +1 -0
- package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +1 -0
- package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +1 -0
- package/dist/chunks/resume-0.1.9-gayv56qp.mjs +2 -0
- package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +1 -0
- package/dist/chunks/session-0.1.9-jtrr3jje.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +1 -0
- package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +5 -0
- package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +1 -0
- package/dist/chunks/skills-0.1.9-d63w5m27.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +1 -0
- package/dist/chunks/state-0.1.9-m8x0v07d.mjs +1 -0
- package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +6 -0
- package/dist/chunks/status-0.1.9-sapnwz4b.mjs +1 -0
- package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +1 -0
- package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +1 -0
- package/dist/chunks/teleport-0.1.9-xaj204my.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +1 -0
- package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +1 -0
- package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +1 -0
- package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +4 -0
- package/dist/chunks/update-0.1.9-8dntd8kh.mjs +94 -0
- package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +14 -0
- package/dist/chunks/usage-0.1.9-neje6dea.mjs +1 -0
- package/dist/chunks/util-0.1.9-kdhggd68.mjs +1 -0
- package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +1 -0
- package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +1 -0
- package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +1 -0
- package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +132 -0
- package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +1 -0
- package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +7 -0
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +7 -0
- package/package.json +153 -0
- package/scripts/v8cache-gc.mjs +84 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
NOTICE
|
|
2
|
+
|
|
3
|
+
This repository contains code derived from Anthropic's Claude Code CLI.
|
|
4
|
+
|
|
5
|
+
The original Claude Code source is proprietary software:
|
|
6
|
+
Copyright (c) Anthropic PBC. All rights reserved.
|
|
7
|
+
Subject to Anthropic's Commercial Terms of Service.
|
|
8
|
+
|
|
9
|
+
Modifications and additions by Claudio contributors are offered under
|
|
10
|
+
the MIT License where legally permissible:
|
|
11
|
+
|
|
12
|
+
MIT License
|
|
13
|
+
Copyright (c) 2026 Claudio contributors (modifications only)
|
|
14
|
+
|
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
16
|
+
a copy of the modifications made by Claudio contributors, to deal
|
|
17
|
+
in those modifications without restriction, including without limitation
|
|
18
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
19
|
+
and/or sell copies, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included
|
|
22
|
+
in all copies or substantial portions of the modifications.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
|
25
|
+
|
|
26
|
+
The underlying derived code remains subject to Anthropic's copyright.
|
|
27
|
+
This project does not have Anthropic's authorization to distribute
|
|
28
|
+
their proprietary source. Users and contributors should evaluate their
|
|
29
|
+
own legal position.
|
package/README.md
ADDED
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
# Claudio
|
|
2
|
+
|
|
3
|
+
Claudio is a coding-agent CLI for cloud and local model providers.
|
|
4
|
+
|
|
5
|
+
Use OpenAI-compatible APIs, Gemini, GitHub Models, Codex OAuth, Codex, Ollama, Atomic Chat, and other supported backends while keeping one terminal-first workflow: prompts, tools, agents, MCP, slash commands, and streaming output.
|
|
6
|
+
|
|
7
|
+
[](SECURITY.md)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
|
|
10
|
+
[Quick Start](#quick-start) | [Setup Guides](#setup-guides) | [Providers](#supported-providers) | [Source Build](#source-build-and-local-development) | [VS Code Extension](#vs-code-extension)
|
|
11
|
+
|
|
12
|
+
## Why Claudio
|
|
13
|
+
|
|
14
|
+
- Use one CLI across cloud APIs and local model backends
|
|
15
|
+
- Configure providers and models entirely from inside the app via `/provider`
|
|
16
|
+
- Run with OpenAI-compatible services, Anthropic, Gemini, Mistral, GitHub Copilot, Codex OAuth, Ollama, Bedrock, Vertex, Foundry, and other supported providers
|
|
17
|
+
- Keep coding-agent workflows in one place: bash, file tools, grep, glob, agents, tasks, MCP, and web tools
|
|
18
|
+
- Use the bundled VS Code extension for launch integration and theme support
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
### Install
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install -g @claudiolabs/claudio@latest
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Works on Linux, macOS, and Windows (Node 20+). Or build from source — see [Source Build And Local Development](#source-build-and-local-development).
|
|
29
|
+
|
|
30
|
+
**Platform-specific guides:**
|
|
31
|
+
- [Quick Start — macOS / Linux](docs/quick-start-mac-linux.md)
|
|
32
|
+
- [Quick Start — Windows](docs/quick-start-windows.md)
|
|
33
|
+
|
|
34
|
+
If the install later reports `ripgrep not found`, install ripgrep system-wide and confirm `rg --version` works in the same terminal before starting Claudio.
|
|
35
|
+
|
|
36
|
+
### Update
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm install -g @claudiolabs/claudio@latest
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Uninstall
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm uninstall -g @claudiolabs/claudio
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Start
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
claudio
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
On first run with no saved profile, Claudio opens the `/provider` wizard automatically. Pick a preset, paste credentials when prompted, and start working — no environment variables required.
|
|
55
|
+
|
|
56
|
+
To reconfigure later from inside the REPL:
|
|
57
|
+
|
|
58
|
+
- `/provider` — list, edit, switch, and add provider profiles
|
|
59
|
+
- `/provider doctor` — health check the active profile (reachability, auth, model availability)
|
|
60
|
+
- `/provider migrate` — rerun the legacy `~/.claude/` migration (see below)
|
|
61
|
+
|
|
62
|
+
### Available presets
|
|
63
|
+
|
|
64
|
+
`/provider` ships with presets for common providers:
|
|
65
|
+
|
|
66
|
+
- `anthropic` (API key or OAuth web sign-in)
|
|
67
|
+
- `openai` and OpenAI-compatible: `deepseek`, `kimi-code`, `moonshotai`, `together`, `groq`, `openrouter`, `lmstudio`, `dashscope-cn`, `dashscope-intl`, `nvidia-nim`, `minimax`, `bankr`, `atomic-chat`
|
|
68
|
+
- `gemini`
|
|
69
|
+
- `mistral`
|
|
70
|
+
- `ollama` (local, no key required)
|
|
71
|
+
- `codex` (ChatGPT OAuth)
|
|
72
|
+
- `github-copilot` (GitHub OAuth device flow)
|
|
73
|
+
- `bedrock` (AWS region in profile, AWS credential chain)
|
|
74
|
+
- `vertex` (GCP project + region in profile, Application Default Credentials)
|
|
75
|
+
- `foundry` (Azure resource in profile, `DefaultAzureCredential`)
|
|
76
|
+
- `custom` (any OpenAI-compatible base URL, e.g. a LiteLLM proxy)
|
|
77
|
+
|
|
78
|
+
### Configuration directory
|
|
79
|
+
|
|
80
|
+
Claudio stores credentials, settings, and OAuth tokens under `~/.claudio/`. On first run, `/provider` detects a legacy `~/.claude/` directory and offers to migrate tokens, settings, theme, plugins, and keybindings. You can also rerun the migration manually with `/provider migrate`.
|
|
81
|
+
|
|
82
|
+
Override the location with `CLAUDIO_CONFIG_DIR=/path/to/dir`.
|
|
83
|
+
|
|
84
|
+
`bin/claudio` enables Node's V8 compile cache at `~/.claudio/v8cache/` (~5 MB), saving ~250 ms on every warm launch. The cache is invalidated on each rebuild, so the first run after `bun run build` pays a small penalty to repopulate. Disable with `NODE_DISABLE_COMPILE_CACHE=1`.
|
|
85
|
+
|
|
86
|
+
### Performance flags
|
|
87
|
+
|
|
88
|
+
- Streaming-highlight deferral is **on by default**: syntax highlighting on a fenced code block is skipped while the fence is still open, then a final pass runs once the fence closes. Cuts ~85 % of cumulative streaming-render CPU on responses with code blocks. Trade-off: plain monospace mid-stream and a one-shot color flash when the fence closes. Set `CLAUDIO_DEFER_HIGHLIGHT=0` to restore the always-highlight behavior. See `scripts/profile/README.md` for the harness that measured this.
|
|
89
|
+
|
|
90
|
+
### Using Ollama's launch command
|
|
91
|
+
|
|
92
|
+
If you have [Ollama](https://ollama.com) installed and prefer a one-shot command, the launch helper points Claudio at your local model and starts the REPL:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
ollama launch claudio --model qwen2.5-coder:7b
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
It writes a temporary Ollama profile via `/provider` so the next manual `claudio` run keeps using the same setup.
|
|
99
|
+
|
|
100
|
+
## Setup Guides
|
|
101
|
+
|
|
102
|
+
Beginner-friendly guides:
|
|
103
|
+
|
|
104
|
+
- [Non-Technical Setup](docs/non-technical-setup.md)
|
|
105
|
+
- [Windows Quick Start](docs/quick-start-windows.md)
|
|
106
|
+
- [macOS / Linux Quick Start](docs/quick-start-mac-linux.md)
|
|
107
|
+
|
|
108
|
+
Advanced and source-build guides:
|
|
109
|
+
|
|
110
|
+
- [Advanced Setup](docs/advanced-setup.md)
|
|
111
|
+
- [Android Install](ANDROID_INSTALL.md)
|
|
112
|
+
|
|
113
|
+
## Supported Providers
|
|
114
|
+
|
|
115
|
+
All providers are configured through `/provider`. Pick a preset, supply credentials when prompted, and switch profiles at any time.
|
|
116
|
+
|
|
117
|
+
| Provider | Setup |
|
|
118
|
+
| --- | --- |
|
|
119
|
+
| Anthropic | `/provider` → preset `anthropic` (API key or OAuth web sign-in) |
|
|
120
|
+
| OpenAI-compatible | `/provider` → presets `openai`, `deepseek`, `kimi-code`, `together`, `groq`, `openrouter`, `lmstudio`, `dashscope-cn`, `dashscope-intl`, `nvidia-nim`, `minimax`, `bankr`, `atomic-chat`, or `custom` for any OpenAI-compatible `/v1` server |
|
|
121
|
+
| Gemini | `/provider` → preset `gemini` (API key or access token) |
|
|
122
|
+
| Mistral | `/provider` → preset `mistral` |
|
|
123
|
+
| GitHub Copilot | `/provider` → preset `github-copilot` (GitHub OAuth device flow) |
|
|
124
|
+
| Codex OAuth | `/provider` → preset `codex` (ChatGPT sign-in) |
|
|
125
|
+
| Ollama | `/provider` → preset `ollama` (local, no API key) |
|
|
126
|
+
| Bedrock | `/provider` → preset `bedrock` (AWS region in profile, native AWS credential chain) |
|
|
127
|
+
| Vertex | `/provider` → preset `vertex` (GCP project + region, Application Default Credentials) |
|
|
128
|
+
| Foundry | `/provider` → preset `foundry` (Azure resource, `DefaultAzureCredential`) |
|
|
129
|
+
|
|
130
|
+
## What Works
|
|
131
|
+
|
|
132
|
+
- **Tool-driven coding workflows**: Bash, file read/write/edit, grep, glob, agents, tasks, MCP, and slash commands
|
|
133
|
+
- **Streaming responses**: Real-time token output and tool progress
|
|
134
|
+
- **Tool calling**: Multi-step tool loops with model calls, tool execution, and follow-up responses
|
|
135
|
+
- **Images**: URL and base64 image inputs for providers that support vision
|
|
136
|
+
- **Provider profiles**: Multi-profile setup managed entirely from `/provider`, persisted under `~/.claudio/settings.json`
|
|
137
|
+
- **Local and remote model backends**: Cloud APIs, local servers, and Apple Silicon local inference
|
|
138
|
+
|
|
139
|
+
## Provider Notes
|
|
140
|
+
|
|
141
|
+
Claudio supports multiple providers, but behavior is not identical across all of them.
|
|
142
|
+
|
|
143
|
+
- Anthropic-specific features may not exist on other providers
|
|
144
|
+
- Tool quality depends heavily on the selected model
|
|
145
|
+
- Smaller local models can struggle with long multi-step tool flows
|
|
146
|
+
- Some providers impose lower output caps than the CLI defaults, and Claudio adapts where possible
|
|
147
|
+
|
|
148
|
+
For best results, use models with strong tool/function calling support.
|
|
149
|
+
|
|
150
|
+
## Provider Profiles and Switching
|
|
151
|
+
|
|
152
|
+
All sessions and sub-agents use the active provider profile. Switch profiles at any time inside the REPL with `/provider`. Profiles persist under `~/.claudio/settings.json`.
|
|
153
|
+
|
|
154
|
+
> **Note:** API keys saved in `~/.claudio/settings.json` are stored in plaintext. Keep this file private and do not commit it to version control.
|
|
155
|
+
|
|
156
|
+
## Web Search and Fetch
|
|
157
|
+
|
|
158
|
+
By default, `WebSearch` works on non-Anthropic models using DuckDuckGo. This gives GPT-4o, DeepSeek, Gemini, Ollama, and other OpenAI-compatible providers a free web search path out of the box.
|
|
159
|
+
|
|
160
|
+
> **Note:** DuckDuckGo fallback works by scraping search results and may be rate-limited, blocked, or subject to DuckDuckGo's Terms of Service. If you want a more reliable supported option, configure Firecrawl.
|
|
161
|
+
|
|
162
|
+
For Anthropic-native backends and Codex responses, Claudio keeps the native provider web search behavior.
|
|
163
|
+
|
|
164
|
+
`WebFetch` works, but its basic HTTP plus HTML-to-markdown path can still fail on JavaScript-rendered sites or sites that block plain HTTP requests.
|
|
165
|
+
|
|
166
|
+
Set a [Firecrawl](https://firecrawl.dev) API key if you want Firecrawl-powered search/fetch behavior:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
export FIRECRAWL_API_KEY=your-key-here
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
With Firecrawl enabled:
|
|
173
|
+
|
|
174
|
+
- `WebSearch` can use Firecrawl's search API while DuckDuckGo remains the default free path for non-Claude models
|
|
175
|
+
- `WebFetch` uses Firecrawl's scrape endpoint instead of raw HTTP, handling JS-rendered pages correctly
|
|
176
|
+
|
|
177
|
+
Free tier at [firecrawl.dev](https://firecrawl.dev) includes 500 credits. The key is optional.
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## Headless gRPC Server
|
|
182
|
+
|
|
183
|
+
Claudio can be run as a headless gRPC service, allowing you to integrate its agentic capabilities (tools, bash, file editing) into other applications, CI/CD pipelines, or custom user interfaces. The server uses bidirectional streaming to send real-time text chunks, tool calls, and request permissions for sensitive commands.
|
|
184
|
+
|
|
185
|
+
### 1. Start the gRPC Server
|
|
186
|
+
|
|
187
|
+
Start the core engine as a gRPC service on `localhost:50051`:
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
npm run dev:grpc
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
#### Configuration
|
|
194
|
+
|
|
195
|
+
| Variable | Default | Description |
|
|
196
|
+
|-----------|-------------|------------------------------------------------|
|
|
197
|
+
| `GRPC_PORT` | `50051` | Port the gRPC server listens on |
|
|
198
|
+
| `GRPC_HOST` | `localhost` | Bind address. Use `0.0.0.0` to expose on all interfaces (not recommended without authentication) |
|
|
199
|
+
|
|
200
|
+
### 2. Run the Test CLI Client
|
|
201
|
+
|
|
202
|
+
We provide a lightweight CLI client that communicates exclusively over gRPC. It acts just like the main interactive CLI, rendering colors, streaming tokens, and prompting you for tool permissions (y/n) via the gRPC `action_required` event.
|
|
203
|
+
|
|
204
|
+
In a separate terminal, run:
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
npm run dev:grpc:cli
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
*Note: The gRPC definitions are located in `src/proto/claudio.proto`. You can use this file to generate clients in Python, Go, Rust, or any other language.*
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## Source Build And Local Development
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
bun install
|
|
218
|
+
bun run build
|
|
219
|
+
node dist/cli.mjs
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Helpful commands:
|
|
223
|
+
|
|
224
|
+
- `bun run dev` — quick CLI-only rebuild + run (skips the VS Code extension)
|
|
225
|
+
- `bun run build:release` — full release build: bundles the vendored VS Code extension into `dist/claudio-vscode.vsix` and then bundles the CLI. Required when iterating on the IDE integration or before `npm publish` (the `prepack` script invokes it)
|
|
226
|
+
- `bun test`
|
|
227
|
+
- `bun run test:coverage`
|
|
228
|
+
- `bun run security:pr-scan -- --base origin/main`
|
|
229
|
+
- `bun run smoke`
|
|
230
|
+
- `bun run typecheck`
|
|
231
|
+
- `bun run verify:privacy`
|
|
232
|
+
- focused `bun test ...` runs for the areas you touch
|
|
233
|
+
|
|
234
|
+
## Testing And Coverage
|
|
235
|
+
|
|
236
|
+
Claudio uses Bun's built-in test runner for unit tests.
|
|
237
|
+
|
|
238
|
+
Run the full unit suite:
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
bun test
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
Generate unit test coverage:
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
bun run test:coverage
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
Open the visual coverage report:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
open coverage/index.html
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
If you already have `coverage/lcov.info` and only want to rebuild the UI:
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
bun run test:coverage:ui
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
Use focused test runs when you only touch one area:
|
|
263
|
+
|
|
264
|
+
- `bun run test:provider`
|
|
265
|
+
- `bun test path/to/file.test.ts`
|
|
266
|
+
|
|
267
|
+
Recommended contributor validation before opening a PR:
|
|
268
|
+
|
|
269
|
+
- `bun run build`
|
|
270
|
+
- `bun run smoke`
|
|
271
|
+
- `bun run test:coverage` for broader unit coverage when your change affects shared runtime or provider logic
|
|
272
|
+
- focused `bun test ...` runs for the files and flows you changed
|
|
273
|
+
|
|
274
|
+
Coverage output is written to `coverage/lcov.info`, and Claudio also generates a git-activity-style heatmap at `coverage/index.html`.
|
|
275
|
+
## Repository Structure
|
|
276
|
+
|
|
277
|
+
- `src/` - core CLI/runtime
|
|
278
|
+
- `scripts/` - build, verification, and maintenance scripts
|
|
279
|
+
- `docs/` - setup, contributor, and project documentation
|
|
280
|
+
- `python/` - standalone Python helpers and their tests
|
|
281
|
+
- `vscode-extension/claudio-vscode/` - VS Code extension
|
|
282
|
+
- `.github/` - repo automation, templates, and CI configuration
|
|
283
|
+
- `bin/` - CLI launcher entrypoints
|
|
284
|
+
|
|
285
|
+
## VS Code Extension
|
|
286
|
+
|
|
287
|
+
The repo includes a VS Code extension in [`vscode-extension/claudio-vscode`](vscode-extension/claudio-vscode) for Claudio launch integration, provider-aware control-center UI, and theme support.
|
|
288
|
+
|
|
289
|
+
## Security
|
|
290
|
+
|
|
291
|
+
If you believe you found a security issue, see [SECURITY.md](SECURITY.md).
|
|
292
|
+
|
|
293
|
+
## Contributing
|
|
294
|
+
|
|
295
|
+
For larger changes, open an issue first so the scope is clear before implementation. Helpful validation commands include:
|
|
296
|
+
|
|
297
|
+
- `bun run build`
|
|
298
|
+
- `bun run test:coverage`
|
|
299
|
+
- `bun run smoke`
|
|
300
|
+
- focused `bun test ...` runs for files and flows you changed
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
## Disclaimer
|
|
304
|
+
|
|
305
|
+
Claudio is an independent project and is not affiliated with, endorsed by, or sponsored by Anthropic.
|
|
306
|
+
|
|
307
|
+
Claudio originated from the Claude Code codebase and has since been substantially modified to support multiple providers and open use. "Claude" and "Claude Code" are trademarks of Anthropic PBC. See [LICENSE](LICENSE) for details.
|
|
308
|
+
|
|
309
|
+
## License
|
|
310
|
+
|
|
311
|
+
See [LICENSE](LICENSE).
|
package/bin/claudio
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Claudio — Claude Code with any LLM
|
|
5
|
+
*
|
|
6
|
+
* If dist/cli.mjs exists (built), run that.
|
|
7
|
+
* Otherwise, tell the user to build first or use `bun run dev`.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { spawnSync } from 'child_process'
|
|
11
|
+
import { existsSync, mkdirSync } from 'fs'
|
|
12
|
+
import * as module from 'module'
|
|
13
|
+
import { homedir } from 'os'
|
|
14
|
+
import { join, dirname } from 'path'
|
|
15
|
+
import { fileURLToPath, pathToFileURL } from 'url'
|
|
16
|
+
|
|
17
|
+
// V8 default old-space cap is 4 GB on 64-bit. Long Opus/Gemini sessions can
|
|
18
|
+
// hit it (parsed bundle + React/Ink tree + tool-result strings + cached file
|
|
19
|
+
// contents) before the heap-pressure autocompact trigger fires. Re-exec
|
|
20
|
+
// once with a higher cap so the trigger has room to run summary before OOM.
|
|
21
|
+
// Override via CLAUDIO_MAX_HEAP_MB; opt out with CLAUDIO_NO_HEAP_BUMP=1.
|
|
22
|
+
const HEAP_BUMP_SENTINEL = '_CLAUDIO_HEAP_BUMPED'
|
|
23
|
+
if (
|
|
24
|
+
!process.env[HEAP_BUMP_SENTINEL] &&
|
|
25
|
+
process.env.CLAUDIO_NO_HEAP_BUMP !== '1' &&
|
|
26
|
+
!(process.env.NODE_OPTIONS || '').includes('max-old-space-size') &&
|
|
27
|
+
!process.execArgv.some(a => a.startsWith('--max-old-space-size'))
|
|
28
|
+
) {
|
|
29
|
+
const heapMB = process.env.CLAUDIO_MAX_HEAP_MB || '8192'
|
|
30
|
+
// --expose-gc lets the runtime hint V8 to mark-sweep at natural release
|
|
31
|
+
// points (post-compact, post-subagent cleanup) instead of waiting for an
|
|
32
|
+
// allocation-driven GC. Negligible perf overhead; opt out via
|
|
33
|
+
// CLAUDIO_NO_HEAP_BUMP=1 if needed.
|
|
34
|
+
const result = spawnSync(
|
|
35
|
+
process.execPath,
|
|
36
|
+
[`--max-old-space-size=${heapMB}`, '--expose-gc', ...process.execArgv, fileURLToPath(import.meta.url), ...process.argv.slice(2)],
|
|
37
|
+
{ stdio: 'inherit', env: { ...process.env, [HEAP_BUMP_SENTINEL]: '1' } },
|
|
38
|
+
)
|
|
39
|
+
process.exit(result.status ?? 1)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
43
|
+
const distPath = join(__dirname, '..', 'dist', 'cli.mjs')
|
|
44
|
+
|
|
45
|
+
// V8 bytecode cache for the 21 MB bundle. ~250 ms saved on every warm launch
|
|
46
|
+
// (measured); first run after each build pays ~120 ms to populate. Must be
|
|
47
|
+
// enabled before the dynamic import below so V8 reuses cached bytecode for
|
|
48
|
+
// the bundle. NODE_COMPILE_CACHE env var only applies at process startup, so
|
|
49
|
+
// we use the programmatic API (Node ≥22.8 / ≥20.18). Pre-existing env var
|
|
50
|
+
// or NODE_DISABLE_COMPILE_CACHE=1 are respected.
|
|
51
|
+
if (
|
|
52
|
+
typeof module.enableCompileCache === 'function' &&
|
|
53
|
+
process.env.NODE_DISABLE_COMPILE_CACHE !== '1' &&
|
|
54
|
+
!process.env.NODE_COMPILE_CACHE
|
|
55
|
+
) {
|
|
56
|
+
const cacheRoot = process.env.CLAUDIO_CONFIG_DIR || join(homedir(), '.claudio')
|
|
57
|
+
const v8Cache = join(cacheRoot, 'v8cache')
|
|
58
|
+
try {
|
|
59
|
+
mkdirSync(v8Cache, { recursive: true })
|
|
60
|
+
module.enableCompileCache(v8Cache)
|
|
61
|
+
} catch {
|
|
62
|
+
// Non-fatal: launcher continues without cache.
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Lazy GC of stale entries. Node's enableCompileCache never reclaims old
|
|
66
|
+
// entries, and after code-splitting the cache accumulates hundreds of
|
|
67
|
+
// chunks per build. Sweep async after enabling cache (V8 only touches
|
|
68
|
+
// entries matching current bundle hash; stale ones are orphans).
|
|
69
|
+
// Opt out via CLAUDIO_V8CACHE_GC=0; tune via CLAUDIO_V8CACHE_TTL_DAYS.
|
|
70
|
+
if (process.env.CLAUDIO_V8CACHE_GC !== '0') {
|
|
71
|
+
const ttlDays = Number(process.env.CLAUDIO_V8CACHE_TTL_DAYS) || 14
|
|
72
|
+
if (ttlDays > 0) {
|
|
73
|
+
const gcUrl = pathToFileURL(join(__dirname, '..', 'scripts', 'v8cache-gc.mjs')).href
|
|
74
|
+
import(gcUrl)
|
|
75
|
+
.then(m => m.gcV8Cache(v8Cache, { ttlDays }))
|
|
76
|
+
.catch(() => {}) // Non-fatal.
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if (existsSync(distPath)) {
|
|
82
|
+
await import(pathToFileURL(distPath).href)
|
|
83
|
+
} else {
|
|
84
|
+
console.error(`
|
|
85
|
+
claudio: dist/cli.mjs not found.
|
|
86
|
+
|
|
87
|
+
Build first:
|
|
88
|
+
bun run build
|
|
89
|
+
|
|
90
|
+
Or run directly with Bun:
|
|
91
|
+
bun run dev
|
|
92
|
+
|
|
93
|
+
See README.md for setup instructions.
|
|
94
|
+
`)
|
|
95
|
+
process.exit(1)
|
|
96
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{OC as a,PC as b,QC as c,RC as d}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";d();export{b as outputSchema,a as inputSchema,c as AgentTool};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Za as O}from"./cli-0.1.9-a1gtww1d.mjs";import{$a as Q}from"./cli-0.1.9-5vgk7wf7.mjs";import{ab as N}from"./cli-0.1.9-x13p19zq.mjs";import"./cli-0.1.9-m7shtst2.mjs";import{GJ as L,KJ as X}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import{FS as W}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as K}from"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-n54k4qt3.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as J}from"./cli-0.1.9-kbrf27z8.mjs";var R=J(W(),1);X();var z=J(K(),1);function _(U){let b=R.c(9),{getFpsMetrics:B,stats:G,initialState:H,children:I}=U,k;if(b[0]!==I||b[1]!==H)k=z.jsxDEV(L,{initialState:H,onChangeAppState:Q,children:I},void 0,!1,void 0,this),b[0]=I,b[1]=H,b[2]=k;else k=b[2];let q;if(b[3]!==G||b[4]!==k)q=z.jsxDEV(O,{store:G,children:k},void 0,!1,void 0,this),b[3]=G,b[4]=k,b[5]=q;else q=b[5];let y;if(b[6]!==B||b[7]!==q)y=z.jsxDEV(N,{getFpsMetrics:B,children:q},void 0,!1,void 0,this),b[6]=B,b[7]=q,b[8]=y;else y=b[8];return y}export{_ as App};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Wa as a}from"./cli-0.1.9-6p67vwxh.mjs";import"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";export{a as ApproveApiKey};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-kbrf27z8.mjs";function n(s){return null}export{n as AssistantSessionChooser};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Oa as a,Pa as b}from"./cli-0.1.9-bg9xvmav.mjs";import"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";export{b as AutoModeOptInDialog,a as AUTO_MODE_DESCRIPTION};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Nu as d,Qu as R,iv as S,kv as x}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{xP as b,yP as M}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import{FS as A,UU as I,nU as y,pU as m,tU as _,xU as h}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as f}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as T}from"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{$$ as g,laa as N}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as v,zfa as p}from"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as a}from"./cli-0.1.9-kbrf27z8.mjs";v();I();R();N();x();M();var C=a(A(),1),P=a(T(),1),o=a(f(),1);function H(B){let e=C.c(7),{onAccept:r}=B,n;if(e[0]===Symbol.for("react.memo_cache_sentinel"))n=[],e[0]=n;else n=e[0];P.default.useEffect(G,n);let t;if(e[1]!==r)t=function(k){e:switch(k){case"accept":{p("tengu_bypass_permissions_mode_dialog_accept",{}),g("userSettings",{skipDangerousModePermissionPrompt:!0}),r();break e}case"decline":d(1)}},e[1]=r,e[2]=t;else t=e[2];let l=t,w=F,i;if(e[3]===Symbol.for("react.memo_cache_sentinel"))i=o.jsxDEV(y,{flexDirection:"column",gap:1,children:[o.jsxDEV(m,{children:["In Bypass Permissions mode, Claude Code will not ask for your approval before running potentially dangerous commands.",o.jsxDEV(h,{},void 0,!1,void 0,this),"This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged."]},void 0,!0,void 0,this),o.jsxDEV(m,{children:"By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."},void 0,!1,void 0,this),o.jsxDEV(_,{url:"https://code.claude.com/docs/en/security"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),e[3]=i;else i=e[3];let s;if(e[4]===Symbol.for("react.memo_cache_sentinel"))s=[{label:"No, exit",value:"decline"},{label:"Yes, I accept",value:"accept"}],e[4]=s;else s=e[4];let c;if(e[5]!==l)c=o.jsxDEV(b,{title:"WARNING: Claude Code running in Bypass Permissions mode",color:"error",onCancel:w,children:[i,o.jsxDEV(S,{options:s,onChange:(u)=>l(u)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),e[5]=l,e[6]=c;else c=e[6];return c}function F(){d(0)}function G(){p("tengu_bypass_permissions_mode_dialog_shown",{})}export{H as BypassPermissionsModeDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bb as C,Cb as _}from"./cli-0.1.9-3y36913h.mjs";import"./cli-0.1.9-e96x59hw.mjs";import{xP as k,yP as r}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import{FS as g,JU as S,UU as u,nU as O,pU as b,tU as w,xU as U}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import{zX as v}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as c}from"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{Waa as M,qba as R}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import{Afa as m,zfa as y}from"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as F}from"./cli-0.1.9-kbrf27z8.mjs";m();u();_();R();r();var L=F(g(),1),p=F(c(),1),z=F(v(),1),d="https://claude.ai/chrome",V="https://clau.de/chrome/permissions";function i(H){let q=L.c(20),{onDone:A}=H,[J,N]=p.default.useState(!1),B,G;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=()=>{y("tengu_claude_in_chrome_onboarding_shown",{}),C().then(N),M(I)},G=[],q[0]=B,q[1]=G;else B=q[0],G=q[1];p.default.useEffect(B,G);let P;if(q[2]!==A)P=(j,T)=>{if(T.return)A()},q[2]=A,q[3]=P;else P=q[3];S(P);let K;if(q[4]!==J)K=!J&&z.jsxDEV(z.Fragment,{children:[z.jsxDEV(U,{},void 0,!1,void 0,this),z.jsxDEV(U,{},void 0,!1,void 0,this),"Requires the Chrome extension. Get started at"," ",z.jsxDEV(w,{url:d},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[4]=J,q[5]=K;else K=q[5];let Q;if(q[6]!==K)Q=z.jsxDEV(b,{children:["Claude in Chrome works with the Chrome extension to let you control your browser directly from Claude Code. You can navigate websites, fill forms, capture screenshots, record GIFs, and debug with console logs and network requests.",K]},void 0,!0,void 0,this),q[6]=K,q[7]=Q;else Q=q[7];let W;if(q[8]!==J)W=J&&z.jsxDEV(z.Fragment,{children:[" ","(",z.jsxDEV(w,{url:V},void 0,!1,void 0,this),")"]},void 0,!0,void 0,this),q[8]=J,q[9]=W;else W=q[9];let Y;if(q[10]!==W)Y=z.jsxDEV(b,{dimColor:!0,children:["Site-level permissions are inherited from the Chrome extension. Manage permissions in the Chrome extension settings to control which sites Claude can browse, click, and type on",W,"."]},void 0,!0,void 0,this),q[10]=W,q[11]=Y;else Y=q[11];let X;if(q[12]===Symbol.for("react.memo_cache_sentinel"))X=z.jsxDEV(b,{bold:!0,color:"chromeYellow",children:"/chrome"},void 0,!1,void 0,this),q[12]=X;else X=q[12];let f;if(q[13]===Symbol.for("react.memo_cache_sentinel"))f=z.jsxDEV(b,{dimColor:!0,children:["For more info, use"," ",X," ","or visit ",z.jsxDEV(w,{url:"https://code.claude.com/docs/en/chrome"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[13]=f;else f=q[13];let Z;if(q[14]!==Q||q[15]!==Y)Z=z.jsxDEV(O,{flexDirection:"column",gap:1,children:[Q,Y,f]},void 0,!0,void 0,this),q[14]=Q,q[15]=Y,q[16]=Z;else Z=q[16];let h;if(q[17]!==A||q[18]!==Z)h=z.jsxDEV(k,{title:"Claude in Chrome (Beta)",onCancel:A,color:"chromeYellow",children:Z},void 0,!1,void 0,this),q[17]=A,q[18]=Z,q[19]=h;else h=q[19];return h}function I(H){return{...H,hasCompletedClaudeInChromeOnboarding:!0}}export{i as ClaudeInChromeOnboarding};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Df as a,Ef as b}from"./cli-0.1.9-s0w3y07w.mjs";import"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";b();export{a as ClaudeMdExternalIncludesDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{vy as a,xy as b}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";b();export{a as ConsoleOAuthFlow};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{VA as b1,WA as I1,XA as r1,bB as w1,cB as W0,cv as d1,fv as K0}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{nP as n1,oP as Y0,tP as m1,uP as z0,xP as x1,yP as G0}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import{BS as u,CS as A0,fS as Y1,gS as g1,uS as f1,vS as Z0}from"./cli-0.1.9-gpd1bhnf.mjs";import{FS as H1,UU as L1,nU as M,pU as X}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as c}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as R1}from"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{B$ as E1,X8 as T1,g7 as o1,h7 as C0,p9 as t1,t$ as $}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import{wda as F1,xda as e1}from"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import{Vea as V1,hfa as J0}from"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as g,lna as a}from"./cli-0.1.9-kbrf27z8.mjs";function y1(){let[Q,A]=o.useState(null),[W,C]=o.useState(new Map),[N,R]=o.useState(!0);return o.useEffect(()=>{let J=!1;async function U(){try{let[O,Y]=await Promise.all([b1(),I1()]);if(!J)A(O),C(Y),R(!1)}catch(O){if(!J)A(null),C(new Map),R(!1)}}return U(),()=>{J=!0}},[]),o.useMemo(()=>{if(!Q)return{stats:null,files:[],hunks:new Map,loading:N};let{stats:J,perFileStats:U}=Q,O=[];for(let[Y,q]of U){let L=W.get(Y),p=q.isUntracked??!1,H=!q.isBinary&&!p&&!L,z=q.added+q.removed,F=!H&&!q.isBinary&&z>a1;O.push({path:Y,linesAdded:q.added,linesRemoved:q.removed,isBinary:q.isBinary,isLargeFile:H,isTruncated:F,isUntracked:p})}return O.sort((Y,q)=>Y.path.localeCompare(q.path)),{stats:J,files:O,hunks:W,loading:!1}},[Q,W,N])}var o,a1=400;var _1=a(()=>{r1();o=g(R1(),1)});function u1(Q){if(!Q||typeof Q!=="object")return!1;let A=Q,W=typeof A.filePath==="string",C=Array.isArray(A.structuredPatch)&&A.structuredPatch.length>0,N=A.type==="create"&&typeof A.content==="string";return W&&(C||N)}function i1(Q){return"type"in Q&&(Q.type==="create"||Q.type==="update")}function $1(Q){let A=0,W=0;for(let C of Q)for(let N of C.lines)if(N.startsWith("+"))A++;else if(N.startsWith("-"))W++;return{added:A,removed:W}}function s1(Q){if(Q.type!=="user")return"";let A=Q.message.content,W=typeof A==="string"?A:"";if(W.length<=30)return W;return W.slice(0,29)+"…"}function k1(Q){let A=0,W=0;for(let C of Q.files.values())A+=C.linesAdded,W+=C.linesRemoved;Q.stats={filesChanged:Q.files.size,linesAdded:A,linesRemoved:W}}function M1(Q){let A=X1.useRef({completedTurns:[],currentTurn:null,lastProcessedIndex:0,lastTurnIndex:0});return X1.useMemo(()=>{let W=A.current;if(Q.length<W.lastProcessedIndex)W.completedTurns=[],W.currentTurn=null,W.lastProcessedIndex=0,W.lastTurnIndex=0;for(let N=W.lastProcessedIndex;N<Q.length;N++){let R=Q[N];if(!R||R.type!=="user")continue;if(!(R.toolUseResult||Array.isArray(R.message.content)&&R.message.content[0]?.type==="tool_result")&&!R.isMeta){if(W.currentTurn&&W.currentTurn.files.size>0)k1(W.currentTurn),W.completedTurns.push(W.currentTurn);W.lastTurnIndex++,W.currentTurn={turnIndex:W.lastTurnIndex,userPromptPreview:s1(R),timestamp:R.timestamp,files:new Map,stats:{filesChanged:0,linesAdded:0,linesRemoved:0}}}else if(W.currentTurn&&R.toolUseResult){let U=R.toolUseResult;if(u1(U)){let{filePath:O,structuredPatch:Y}=U,q="type"in U&&U.type==="create",L=W.currentTurn.files.get(O);if(!L)L={filePath:O,hunks:[],isNewFile:q,linesAdded:0,linesRemoved:0},W.currentTurn.files.set(O,L);if(q&&Y.length===0&&i1(U)){let H=U.content.split(`
|
|
2
|
+
`),z={oldStart:0,oldLines:0,newStart:1,newLines:H.length,lines:H.map((F)=>"+"+F)};L.hunks.push(z),L.linesAdded+=H.length}else{L.hunks.push(...Y);let{added:p,removed:H}=$1(Y);L.linesAdded+=p,L.linesRemoved+=H}if(q)L.isNewFile=!0}}}W.lastProcessedIndex=Q.length;let C=[...W.completedTurns];if(W.currentTurn&&W.currentTurn.files.size>0)k1(W.currentTurn),C.push(W.currentTurn);return C.reverse()},[Q])}var X1;var P1=a(()=>{X1=g(R1(),1)});import{resolve as q0}from"path";function S1(Q){let A=h1.c(53),{filePath:W,hunks:C,isLargeFile:N,isBinary:R,isTruncated:J,isUntracked:U}=Q,{columns:O}=Y1(),Y;A:{if(!W){let T;if(A[0]===Symbol.for("react.memo_cache_sentinel"))T={firstLine:null,fileContent:void 0},A[0]=T;else T=A[0];Y=T;break A}let K,b;if(A[1]!==W){let T=q0(F1(),W);K=T1(T),b=K?.split(`
|
|
3
|
+
`)[0]??null,A[1]=W,A[2]=K,A[3]=b}else K=A[2],b=A[3];let y=K??void 0,_;if(A[4]!==b||A[5]!==y)_={firstLine:b,fileContent:y},A[4]=b,A[5]=y,A[6]=_;else _=A[6];Y=_}let{firstLine:q,fileContent:L}=Y;if(U){let K;if(A[7]!==W)K=B.jsxDEV(X,{bold:!0,children:W},void 0,!1,void 0,this),A[7]=W,A[8]=K;else K=A[8];let b;if(A[9]===Symbol.for("react.memo_cache_sentinel"))b=B.jsxDEV(X,{dimColor:!0,children:" (untracked)"},void 0,!1,void 0,this),A[9]=b;else b=A[9];let y;if(A[10]!==K)y=B.jsxDEV(M,{children:[K,b]},void 0,!0,void 0,this),A[10]=K,A[11]=y;else y=A[11];let _;if(A[12]===Symbol.for("react.memo_cache_sentinel"))_=B.jsxDEV(u,{padding:4},void 0,!1,void 0,this),A[12]=_;else _=A[12];let T;if(A[13]===Symbol.for("react.memo_cache_sentinel"))T=B.jsxDEV(X,{dimColor:!0,italic:!0,children:"New file not yet staged."},void 0,!1,void 0,this),A[13]=T;else T=A[13];let w;if(A[14]!==W)w=B.jsxDEV(M,{flexDirection:"column",children:[T,B.jsxDEV(X,{dimColor:!0,italic:!0,children:["Run `git add ",W,"` to see line counts."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),A[14]=W,A[15]=w;else w=A[15];let S;if(A[16]!==y||A[17]!==w)S=B.jsxDEV(M,{flexDirection:"column",width:"100%",children:[y,_,w]},void 0,!0,void 0,this),A[16]=y,A[17]=w,A[18]=S;else S=A[18];return S}if(R){let K;if(A[19]!==W)K=B.jsxDEV(M,{children:B.jsxDEV(X,{bold:!0,children:W},void 0,!1,void 0,this)},void 0,!1,void 0,this),A[19]=W,A[20]=K;else K=A[20];let b;if(A[21]===Symbol.for("react.memo_cache_sentinel"))b=B.jsxDEV(u,{padding:4},void 0,!1,void 0,this),A[21]=b;else b=A[21];let y;if(A[22]===Symbol.for("react.memo_cache_sentinel"))y=B.jsxDEV(M,{flexDirection:"column",children:B.jsxDEV(X,{dimColor:!0,italic:!0,children:"Binary file - cannot display diff"},void 0,!1,void 0,this)},void 0,!1,void 0,this),A[22]=y;else y=A[22];let _;if(A[23]!==K)_=B.jsxDEV(M,{flexDirection:"column",width:"100%",children:[K,b,y]},void 0,!0,void 0,this),A[23]=K,A[24]=_;else _=A[24];return _}if(N){let K;if(A[25]!==W)K=B.jsxDEV(M,{children:B.jsxDEV(X,{bold:!0,children:W},void 0,!1,void 0,this)},void 0,!1,void 0,this),A[25]=W,A[26]=K;else K=A[26];let b;if(A[27]===Symbol.for("react.memo_cache_sentinel"))b=B.jsxDEV(u,{padding:4},void 0,!1,void 0,this),A[27]=b;else b=A[27];let y;if(A[28]===Symbol.for("react.memo_cache_sentinel"))y=B.jsxDEV(M,{flexDirection:"column",children:B.jsxDEV(X,{dimColor:!0,italic:!0,children:"Large file - diff exceeds 1 MB limit"},void 0,!1,void 0,this)},void 0,!1,void 0,this),A[28]=y;else y=A[28];let _;if(A[29]!==K)_=B.jsxDEV(M,{flexDirection:"column",width:"100%",children:[K,b,y]},void 0,!0,void 0,this),A[29]=K,A[30]=_;else _=A[30];return _}let p;if(A[31]!==W)p=B.jsxDEV(X,{bold:!0,children:W},void 0,!1,void 0,this),A[31]=W,A[32]=p;else p=A[32];let H;if(A[33]!==J)H=J&&B.jsxDEV(X,{dimColor:!0,children:" (truncated)"},void 0,!1,void 0,this),A[33]=J,A[34]=H;else H=A[34];let z;if(A[35]!==p||A[36]!==H)z=B.jsxDEV(M,{children:[p,H]},void 0,!0,void 0,this),A[35]=p,A[36]=H,A[37]=z;else z=A[37];let F;if(A[38]===Symbol.for("react.memo_cache_sentinel"))F=B.jsxDEV(u,{padding:4},void 0,!1,void 0,this),A[38]=F;else F=A[38];let m;if(A[39]!==O||A[40]!==L||A[41]!==W||A[42]!==q||A[43]!==C)m=C.length===0?B.jsxDEV(X,{dimColor:!0,children:"No diff content"},void 0,!1,void 0,this):C.map((K,b)=>B.jsxDEV(w1,{patch:K,filePath:W,firstLine:q,fileContent:L,dim:!1,width:O-2-2},b,!1,void 0,this)),A[39]=O,A[40]=L,A[41]=W,A[42]=q,A[43]=C,A[44]=m;else m=A[44];let k;if(A[45]!==m)k=B.jsxDEV(M,{flexDirection:"column",children:m},void 0,!1,void 0,this),A[45]=m,A[46]=k;else k=A[46];let Z;if(A[47]!==J)Z=J&&B.jsxDEV(X,{dimColor:!0,italic:!0,children:"… diff truncated (exceeded 400 line limit)"},void 0,!1,void 0,this),A[47]=J,A[48]=Z;else Z=A[48];let G;if(A[49]!==z||A[50]!==k||A[51]!==Z)G=B.jsxDEV(M,{flexDirection:"column",width:"100%",children:[z,F,k,Z]},void 0,!0,void 0,this),A[49]=z,A[50]=k,A[51]=Z,A[52]=G;else G=A[52];return G}var h1,B;var v1=a(()=>{g1();L1();e1();t1();A0();W0();h1=g(H1(),1),B=g(c(),1)});function j1(Q){let A=Z1.c(36),{files:W,selectedIndex:C}=Q,{columns:N}=Y1(),R;A:{if(W.length===0||W.length<=i){let G;if(A[0]!==W.length)G={startIndex:0,endIndex:W.length},A[0]=W.length,A[1]=G;else G=A[1];R=G;break A}let m=Math.max(0,C-Math.floor(i/2)),k=m+i;if(k>W.length)k=W.length,m=Math.max(0,k-i);let Z;if(A[2]!==k||A[3]!==m)Z={startIndex:m,endIndex:k},A[2]=k,A[3]=m,A[4]=Z;else Z=A[4];R=Z}let{startIndex:J,endIndex:U}=R;if(W.length===0){let m;if(A[5]===Symbol.for("react.memo_cache_sentinel"))m=P.jsxDEV(X,{dimColor:!0,children:"No changed files"},void 0,!1,void 0,this),A[5]=m;else m=A[5];return m}let O,Y,q,L,p,H;if(A[6]!==N||A[7]!==U||A[8]!==W||A[9]!==C||A[10]!==J){let m=W.slice(J,U),k=J>0;Y=U<W.length,q=W.length>i;let Z=Math.max(20,N-16-3-4);if(O=M,L="column",A[17]!==k||A[18]!==q||A[19]!==J)p=q&&P.jsxDEV(X,{dimColor:!0,children:k?` ↑ ${J} more ${$(J,"file")}`:" "},void 0,!1,void 0,this),A[17]=k,A[18]=q,A[19]=J,A[20]=p;else p=A[20];let G;if(A[21]!==Z||A[22]!==C||A[23]!==J)G=(K,b)=>P.jsxDEV(Q0,{file:K,isSelected:J+b===C,maxPathWidth:Z},K.path,!1,void 0,this),A[21]=Z,A[22]=C,A[23]=J,A[24]=G;else G=A[24];H=m.map(G),A[6]=N,A[7]=U,A[8]=W,A[9]=C,A[10]=J,A[11]=O,A[12]=Y,A[13]=q,A[14]=L,A[15]=p,A[16]=H}else O=A[11],Y=A[12],q=A[13],L=A[14],p=A[15],H=A[16];let z;if(A[25]!==U||A[26]!==W.length||A[27]!==Y||A[28]!==q)z=q&&P.jsxDEV(X,{dimColor:!0,children:Y?` ↓ ${W.length-U} more ${$(W.length-U,"file")}`:" "},void 0,!1,void 0,this),A[25]=U,A[26]=W.length,A[27]=Y,A[28]=q,A[29]=z;else z=A[29];let F;if(A[30]!==O||A[31]!==L||A[32]!==p||A[33]!==H||A[34]!==z)F=P.jsxDEV(O,{flexDirection:L,children:[p,H,z]},void 0,!0,void 0,this),A[30]=O,A[31]=L,A[32]=p,A[33]=H,A[34]=z,A[35]=F;else F=A[35];return F}function Q0(Q){let A=Z1.c(14),{file:W,isSelected:C,maxPathWidth:N}=Q,R;if(A[0]!==W.path||A[1]!==N)R=V1(W.path,N),A[0]=W.path,A[1]=N,A[2]=R;else R=A[2];let J=R,O=`${C?o1.pointer+" ":" "}${J}`,Y=C?"background":void 0,q;if(A[3]!==C||A[4]!==O||A[5]!==Y)q=P.jsxDEV(X,{bold:C,color:Y,inverse:C,children:O},void 0,!1,void 0,this),A[3]=C,A[4]=O,A[5]=Y,A[6]=q;else q=A[6];let L;if(A[7]===Symbol.for("react.memo_cache_sentinel"))L=P.jsxDEV(M,{flexGrow:1},void 0,!1,void 0,this),A[7]=L;else L=A[7];let p;if(A[8]!==W||A[9]!==C)p=P.jsxDEV(X0,{file:W,isSelected:C},void 0,!1,void 0,this),A[8]=W,A[9]=C,A[10]=p;else p=A[10];let H;if(A[11]!==q||A[12]!==p)H=P.jsxDEV(M,{flexDirection:"row",children:[q,L,p]},void 0,!0,void 0,this),A[11]=q,A[12]=p,A[13]=H;else H=A[13];return H}function X0(Q){let A=Z1.c(20),{file:W,isSelected:C}=Q;if(W.isUntracked){let Y=!C,q;if(A[0]!==Y)q=P.jsxDEV(X,{dimColor:Y,italic:!0,children:"untracked"},void 0,!1,void 0,this),A[0]=Y,A[1]=q;else q=A[1];return q}if(W.isBinary){let Y=!C,q;if(A[2]!==Y)q=P.jsxDEV(X,{dimColor:Y,italic:!0,children:"Binary file"},void 0,!1,void 0,this),A[2]=Y,A[3]=q;else q=A[3];return q}if(W.isLargeFile){let Y=!C,q;if(A[4]!==Y)q=P.jsxDEV(X,{dimColor:Y,italic:!0,children:"Large file modified"},void 0,!1,void 0,this),A[4]=Y,A[5]=q;else q=A[5];return q}let N;if(A[6]!==W.linesAdded||A[7]!==C)N=W.linesAdded>0&&P.jsxDEV(X,{color:"diffAddedWord",bold:C,children:["+",W.linesAdded]},void 0,!0,void 0,this),A[6]=W.linesAdded,A[7]=C,A[8]=N;else N=A[8];let R=W.linesAdded>0&&W.linesRemoved>0&&" ",J;if(A[9]!==W.linesRemoved||A[10]!==C)J=W.linesRemoved>0&&P.jsxDEV(X,{color:"diffRemovedWord",bold:C,children:["-",W.linesRemoved]},void 0,!0,void 0,this),A[9]=W.linesRemoved,A[10]=C,A[11]=J;else J=A[11];let U;if(A[12]!==W.isTruncated||A[13]!==C)U=W.isTruncated&&P.jsxDEV(X,{dimColor:!C,children:" (truncated)"},void 0,!1,void 0,this),A[12]=W.isTruncated,A[13]=C,A[14]=U;else U=A[14];let O;if(A[15]!==N||A[16]!==R||A[17]!==J||A[18]!==U)O=P.jsxDEV(X,{children:[N,R,J,U]},void 0,!0,void 0,this),A[15]=N,A[16]=R,A[17]=J,A[18]=U,A[19]=O;else O=A[19];return O}var Z1,P,i=5;var l1=a(()=>{C0();g1();L1();J0();E1();Z1=g(H1(),1),P=g(c(),1)});function O0(Q){let A=Array.from(Q.files.values()).map((C)=>({path:C.filePath,linesAdded:C.linesAdded,linesRemoved:C.linesRemoved,isBinary:!1,isLargeFile:!1,isTruncated:!1,isNewFile:C.isNewFile})).sort((C,N)=>C.path.localeCompare(N.path)),W=new Map;for(let C of Q.files.values())W.set(C.filePath,C.hunks);return{stats:{filesCount:Q.stats.filesChanged,linesAdded:Q.stats.linesAdded,linesRemoved:Q.stats.linesRemoved},files:A,hunks:W,loading:!1}}function a0(Q){let A=D1.c(73),{messages:W,onDone:C}=Q,N=y1(),R=M1(W),[J,U]=v.useState("list"),[O,Y]=v.useState(0),[q,L]=v.useState(0),p;if(A[0]===Symbol.for("react.memo_cache_sentinel"))p={type:"current"},A[0]=p;else p=A[0];let H;if(A[1]!==R)H=[p,...R.map(p0)],A[1]=R,A[2]=H;else H=A[2];let z=H,F=z[q],m=F?.type==="turn"?F.turn:null,k;if(A[3]!==m||A[4]!==N)k=m?O0(m):N,A[3]=m,A[4]=N,A[5]=k;else k=A[5];let Z=k,G=Z.files[O],K;if(A[6]!==Z.hunks||A[7]!==G)K=G?Z.hunks.get(G.path)||[]:[],A[6]=Z.hunks,A[7]=G,A[8]=K;else K=A[8];let b=K,y,_;if(A[9]!==q||A[10]!==z.length)y=()=>{if(q>=z.length)L(Math.max(0,z.length-1))},_=[z.length,q],A[9]=q,A[10]=z.length,A[11]=y,A[12]=_;else y=A[11],_=A[12];v.useEffect(y,_);let T=v.useRef(q),w,S;if(A[13]!==q)w=()=>{if(T.current!==q)Y(0),T.current=q},S=[q],A[13]=q,A[14]=w,A[15]=S;else w=A[14],S=A[15];v.useEffect(w,S),d1("diff-dialog");let V,E;if(A[16]!==z.length||A[17]!==J)E=()=>{if(J==="detail")U("list");else if(J==="list"&&z.length>1)L(U0)},V=()=>{if(J==="list"&&z.length>1)L((h)=>Math.min(z.length-1,h+1))},A[16]=z.length,A[17]=J,A[18]=V,A[19]=E;else V=A[18],E=A[19];let j;if(A[20]!==J)j=()=>{if(J==="detail")U("list")},A[20]=J,A[21]=j;else j=A[21];let l;if(A[22]!==G||A[23]!==J)l=()=>{if(J==="list"&&G)U("detail")},A[22]=G,A[23]=J,A[24]=l;else l=A[24];let n;if(A[25]!==J)n=()=>{if(J==="list")Y(N0)},A[25]=J,A[26]=n;else n=A[26];let f;if(A[27]!==Z.files.length||A[28]!==J)f=()=>{if(J==="list")Y((h)=>Math.min(Z.files.length-1,h+1))},A[27]=Z.files.length,A[28]=J,A[29]=f;else f=A[29];let s;if(A[30]!==V||A[31]!==j||A[32]!==l||A[33]!==n||A[34]!==f||A[35]!==E)s={"diff:previousSource":E,"diff:nextSource":V,"diff:back":j,"diff:viewDetails":l,"diff:previousFile":n,"diff:nextFile":f},A[30]=V,A[31]=j,A[32]=l,A[33]=n,A[34]=f,A[35]=E,A[36]=s;else s=A[36];let e;if(A[37]===Symbol.for("react.memo_cache_sentinel"))e={context:"DiffDialog"},A[37]=e;else e=A[37];f1(s,e);let t;if(A[38]!==Z.stats)t=Z.stats?I.jsxDEV(X,{dimColor:!0,children:[Z.stats.filesCount," ",$(Z.stats.filesCount,"file")," ","changed",Z.stats.linesAdded>0&&I.jsxDEV(X,{color:"diffAddedWord",children:[" +",Z.stats.linesAdded]},void 0,!0,void 0,this),Z.stats.linesRemoved>0&&I.jsxDEV(X,{color:"diffRemovedWord",children:[" -",Z.stats.linesRemoved]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,A[38]=Z.stats,A[39]=t;else t=A[39];let z1=t,G1=m?`Turn ${m.turnIndex}`:"Uncommitted changes",A1=m?m.userPromptPreview?`"${m.userPromptPreview}"`:"":"(git diff HEAD)",W1;if(A[40]!==q||A[41]!==z)W1=z.length>1?I.jsxDEV(M,{children:[q>0&&I.jsxDEV(X,{dimColor:!0,children:"◀ "},void 0,!1,void 0,this),z.map((h,p1)=>{let B1=p1===q,c1=h.type==="current"?"Current":`T${h.turn.turnIndex}`;return I.jsxDEV(X,{dimColor:!B1,bold:B1,children:[p1>0?" · ":"",c1]},p1,!0,void 0,this)}),q<z.length-1&&I.jsxDEV(X,{dimColor:!0,children:" ▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,A[40]=q,A[41]=z,A[42]=W1;else W1=A[42];let K1=W1,q1=n1("diff:dismiss","DiffDialog","esc"),r;A:{if(Z.loading){r="Loading diff…";break A}if(m){r="No file changes in this turn";break A}if(Z.stats&&Z.stats.filesCount>0&&Z.files.length===0){r="Too many files to display details";break A}r="Working tree is clean"}let O1=r,x;if(A[43]!==A1)x=A1&&I.jsxDEV(X,{dimColor:!0,children:[" ",A1]},void 0,!0,void 0,this),A[43]=A1,A[44]=x;else x=A[44];let C1;if(A[45]!==G1||A[46]!==x)C1=I.jsxDEV(X,{children:[G1,x]},void 0,!0,void 0,this),A[45]=G1,A[46]=x,A[47]=C1;else C1=A[47];let N1=C1,J1;if(A[48]!==C||A[49]!==J)J1=function(){if(J==="detail")U("list");else C("Diff dialog dismissed",{display:"system"})},A[48]=C,A[49]=J,A[50]=J1;else J1=A[50];let U1=J1,d;if(A[51]!==q1||A[52]!==z.length||A[53]!==J)d=(h)=>h.pending?I.jsxDEV(X,{children:["Press ",h.keyName," again to exit"]},void 0,!0,void 0,this):J==="list"?I.jsxDEV(m1,{children:[z.length>1&&I.jsxDEV(X,{children:"←/→ source"},void 0,!1,void 0,this),I.jsxDEV(X,{children:"↑/↓ select"},void 0,!1,void 0,this),I.jsxDEV(X,{children:"Enter view"},void 0,!1,void 0,this),I.jsxDEV(X,{children:[q1," close"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):I.jsxDEV(m1,{children:[I.jsxDEV(X,{children:"← back"},void 0,!1,void 0,this),I.jsxDEV(X,{children:[q1," close"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),A[51]=q1,A[52]=z.length,A[53]=J,A[54]=d;else d=A[54];let D;if(A[55]!==Z.files||A[56]!==O1||A[57]!==G?.isBinary||A[58]!==G?.isLargeFile||A[59]!==G?.isTruncated||A[60]!==G?.isUntracked||A[61]!==G?.path||A[62]!==b||A[63]!==O||A[64]!==J)D=Z.files.length===0?I.jsxDEV(M,{marginTop:1,children:I.jsxDEV(X,{dimColor:!0,children:O1},void 0,!1,void 0,this)},void 0,!1,void 0,this):J==="list"?I.jsxDEV(M,{flexDirection:"column",marginTop:1,children:I.jsxDEV(j1,{files:Z.files,selectedIndex:O},void 0,!1,void 0,this)},void 0,!1,void 0,this):I.jsxDEV(M,{flexDirection:"column",marginTop:1,children:I.jsxDEV(S1,{filePath:G?.path||"",hunks:b,isLargeFile:G?.isLargeFile,isBinary:G?.isBinary,isTruncated:G?.isTruncated,isUntracked:G?.isUntracked},void 0,!1,void 0,this)},void 0,!1,void 0,this),A[55]=Z.files,A[56]=O1,A[57]=G?.isBinary,A[58]=G?.isLargeFile,A[59]=G?.isTruncated,A[60]=G?.isUntracked,A[61]=G?.path,A[62]=b,A[63]=O,A[64]=J,A[65]=D;else D=A[65];let Q1;if(A[66]!==U1||A[67]!==K1||A[68]!==z1||A[69]!==d||A[70]!==D||A[71]!==N1)Q1=I.jsxDEV(x1,{title:N1,onCancel:U1,color:"background",inputGuide:d,children:[K1,z1,D]},void 0,!0,void 0,this),A[66]=U1,A[67]=K1,A[68]=z1,A[69]=d,A[70]=D,A[71]=N1,A[72]=Q1;else Q1=A[72];return Q1}function N0(Q){return Math.max(0,Q-1)}function U0(Q){return Math.max(0,Q-1)}function p0(Q){return{type:"turn",turn:Q}}var D1,v,I;var R0=a(()=>{K0();_1();P1();L1();Z0();Y0();E1();z0();G0();v1();l1();D1=g(H1(),1),v=g(R1(),1),I=g(c(),1)});R0();export{a0 as DiffDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Le as a,Me as b}from"./cli-0.1.9-ycvkz1gf.mjs";import"./cli-0.1.9-hy4peemf.mjs";import"./cli-0.1.9-mfyd9h50.mjs";import"./cli-0.1.9-wn39cz20.mjs";import"./cli-0.1.9-5ypg3t0t.mjs";import"./cli-0.1.9-jv2z42gk.mjs";import"./cli-0.1.9-dsx18zt1.mjs";import"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";b();export{a as Doctor};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Kb as a,Lb as b,Mb as c}from"./cli-0.1.9-7kcaaxvq.mjs";import"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";c();export{b as PrivacySettingsDialog,a as GroveDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Vx as B,ey as R}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import{eX as q,fX as O,gX as j,iX as h}from"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import{n7 as M,p7 as U}from"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as f,xga as G}from"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{lna as N}from"./cli-0.1.9-kbrf27z8.mjs";function C(){let z,E=new Promise((H)=>{z=H}),K=_;return _=E,K.then(()=>z)}function $(z){return M(O,z)}function P(z){let E=z.match(/Created new pane:\s*(.+)/);if(E&&E[1])return E[1].trim();return""}function v(){let z=process.env.ITERM_SESSION_ID;if(!z)return null;let E=z.indexOf(":");if(E===-1)return null;return z.slice(E+1)}class w{type="iterm2";displayName="iTerm2";supportsHideShow=!1;async isAvailable(){let z=q();if(G(`[ITermBackend] isAvailable check: inITerm2=${z}`),!z)return G("[ITermBackend] isAvailable: false (not in iTerm2)"),!1;let E=await j();return G(`[ITermBackend] isAvailable: ${E} (it2 CLI ${E?"found":"not found"})`),E}async isRunningInside(){let z=q();return G(`[ITermBackend] isRunningInside: ${z}`),z}async createTeammatePaneInSwarmView(z,E){G(`[ITermBackend] createTeammatePaneInSwarmView called for ${z} with color ${E}`);let K=await C();try{while(!0){let H=!Z;G(`[ITermBackend] Creating pane: isFirstTeammate=${H}, existingPanes=${J.length}`);let Q,V;if(H){let W=v();if(W)Q=["session","split","-v","-s",W],G(`[ITermBackend] First split from leader session: ${W}`);else Q=["session","split","-v"],G("[ITermBackend] First split from active session (no leader ID)")}else if(V=J[J.length-1],V)Q=["session","split","-s",V],G(`[ITermBackend] Subsequent split from teammate session: ${V}`);else Q=["session","split"],G("[ITermBackend] Subsequent split from active session (no teammate ID)");let X=await $(Q);if(X.code!==0){if(V){let W=await $(["session","list"]);if(W.code===0&&!W.stdout.includes(V)){G(`[ITermBackend] Split failed targeting dead session ${V}, pruning and retrying: ${X.stderr}`);let y=J.indexOf(V);if(y!==-1)J.splice(y,1);if(J.length===0)Z=!1;continue}}throw Error(`Failed to create iTerm2 split pane: ${X.stderr}`)}if(H)Z=!0;let Y=P(X.stdout);if(!Y)throw Error(`Failed to parse session ID from split output: ${X.stdout}`);return G(`[ITermBackend] Created teammate pane for ${z}: ${Y}`),J.push(Y),{paneId:Y,isFirstTeammate:H}}}finally{K()}}async sendCommandToPane(z,E,K){let Q=await $(z?["session","run","-s",z,E]:["session","run",E]);if(Q.code!==0)throw Error(`Failed to send command to iTerm2 pane ${z}: ${Q.stderr}`)}async setPaneBorderColor(z,E,K){}async setPaneTitle(z,E,K,H){}async enablePaneBorderStatus(z,E){}async rebalancePanes(z,E){G("[ITermBackend] Pane rebalancing not implemented for iTerm2")}async killPane(z,E){let K=await $(["session","close","-f","-s",z]),H=J.indexOf(z);if(H!==-1)J.splice(H,1);if(J.length===0)Z=!1;return K.code===0}async hidePane(z,E){return G("[ITermBackend] hidePane not supported in iTerm2"),!1}async showPane(z,E,K){return G("[ITermBackend] showPane not supported in iTerm2"),!1}}var J,Z=!1,_;var L=N(()=>{f();U();h();R();J=[],_=Promise.resolve();B(w)});L();export{w as ITermBackend};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{lna as x}from"./cli-0.1.9-kbrf27z8.mjs";class w{peer;closed=!1;onclose;onerror;onmessage;_setPeer(j){this.peer=j}async start(){}async send(j){if(this.closed)throw Error("Transport is closed");queueMicrotask(()=>{this.peer?.onmessage?.(j)})}async close(){if(this.closed)return;if(this.closed=!0,this.onclose?.(),this.peer&&!this.peer.closed)this.peer.closed=!0,this.peer.onclose?.()}}function z(){let j=new w,q=new w;return j._setPeer(q),q._setPeer(j),[j,q]}var y=()=>{};y();export{z as createLinkedTransportPair};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{GJ as h,KJ as S,iv as A,kv as c,pv as O,qv as V,rv as _,sv as u}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import{xP as m,yP as v}from"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import{FS as R,SU as f,UU as g,nU as M,pU as Z}from"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import{zX as b}from"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import{fga as B,iga as C,jga as T}from"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import{hna as K}from"./cli-0.1.9-kbrf27z8.mjs";g();V();S();u();T();c();v();var y=K(R(),1),z=K(b(),1);function p(J){let q=y.c(19),{filePath:L,errorDescription:Q,onExit:G,onReset:w}=J,k;if(q[0]!==G||q[1]!==w)k=(P)=>{if(P==="exit")G();else w()},q[0]=G,q[1]=w,q[2]=k;else k=q[2];let F=k,U;if(q[3]!==L)U=z.jsxDEV(Z,{children:["The configuration file at ",z.jsxDEV(Z,{bold:!0,children:L},void 0,!1,void 0,this)," contains invalid JSON."]},void 0,!0,void 0,this),q[3]=L,q[4]=U;else U=q[4];let W;if(q[5]!==Q)W=z.jsxDEV(Z,{children:Q},void 0,!1,void 0,this),q[5]=Q,q[6]=W;else W=q[6];let X;if(q[7]!==U||q[8]!==W)X=z.jsxDEV(M,{flexDirection:"column",gap:1,children:[U,W]},void 0,!0,void 0,this),q[7]=U,q[8]=W,q[9]=X;else X=q[9];let H;if(q[10]===Symbol.for("react.memo_cache_sentinel"))H=z.jsxDEV(Z,{bold:!0,children:"Choose an option:"},void 0,!1,void 0,this),q[10]=H;else H=q[10];let I;if(q[11]===Symbol.for("react.memo_cache_sentinel"))I=[{label:"Exit and fix manually",value:"exit"},{label:"Reset with default configuration",value:"reset"}],q[11]=I;else I=q[11];let Y;if(q[12]!==F||q[13]!==G)Y=z.jsxDEV(M,{flexDirection:"column",children:[H,z.jsxDEV(A,{options:I,onChange:F,onCancel:G},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q[12]=F,q[13]=G,q[14]=Y;else Y=q[14];let N;if(q[15]!==G||q[16]!==X||q[17]!==Y)N=z.jsxDEV(m,{title:"Configuration Error",color:"error",onCancel:G,children:[X,Y]},void 0,!0,void 0,this),q[15]=G,q[16]=X,q[17]=Y,q[18]=N;else N=q[18];return N}var d="dark";async function s({error:J}){let q={..._(!1),theme:d};await new Promise(async(L)=>{let{unmount:Q}=await f(z.jsxDEV(h,{children:z.jsxDEV(O,{children:z.jsxDEV(p,{filePath:J.filePath,errorDescription:J.message,onExit:()=>{Q(),L(),process.exit(1)},onReset:()=>{C(J.filePath,B(J.defaultConfig,null,2),{flush:!1,encoding:"utf8"}),Q(),L(),process.exit(0)}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),q)})}export{s as showInvalidConfigDialog};
|